package com.ehome.poct.terminal.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 软件升级
 */
@Data
public class SoftwareUpgradeVO {


    @ApiModelProperty("datetime")
    private LocalDateTime dateTime;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("md5")
    private String md5;

    @ApiModelProperty("文件大小")
    private Long size;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("projectName")
    private String projectName;

    @ApiModelProperty("packageName")
    private String packageName;

    @ApiModelProperty("packageId")
    private String packageId;

    @ApiModelProperty("主板类型瑞芯微/全志")
    private String deviceMbType;

    @ApiModelProperty("更新内容")
    private String description;

    @ApiModelProperty("versionCode")
    private String versionCode;

    @ApiModelProperty("版本")
    private String version;

    @ApiModelProperty("最低适配系统版本")
    private String minFirmwareVersion;

    @ApiModelProperty("最低适配驱动版本")
    private String minDriverVersion;

    @ApiModelProperty("最低适配软件版本")
    private String minSoftwareVersion;

    @ApiModelProperty("是否强制更新")
    private Boolean forceUpdate;

    @ApiModelProperty("是否静默升级")
    private Integer isUpdateReminder;

    @ApiModelProperty("预计花费时间（分钟）")
    private Integer estimatedTime;
}
